function echarts_Map(map_name, geoCoordMap, data_value,max_val) {
	console.log(map_name)
	console.log(geoCoordMap)
	console.log(data_value)
	console.log(max_val)
	var myChart = echarts.init(document.getElementById('map'));
			myChart.setOption({
				series: [{
					type: 'map',
					map: map_name
				}]
			});



			// var convertData = function(data) {
				
			// 	return [{"name":"兴城1","value":[120.609328,40.600562,null]},{"name":"普兰店1","value":[122.004243,39.433543,null]}];
			// };

			option = {


				title: {
					text: '',
					subtext: '',
					sublink: '',

					itemGap: 30,

					left: 'center',
					textStyle: {

						color: '#1a1b4e',

						fontStyle: 'normal',

						fontWeight: 'bold',

						fontSize: 30

					},

					subtextStyle: {


						color: '#58d9df',

						fontStyle: 'normal',

						fontWeight: 'bold',

						fontSize: 16


					}
				},

				tooltip: {
					show: true,
					backgroundColor: 'rgba(255,255,255,0.5)', //背景颜色（此时为默认色）
					borderColor: '#1a7a0a', //默认值，提示边框颜色
					borderRadius: 4, //默认值，提示边框圆角，单位px，默认为4
					borderWidth: 1, //默认值，提示边框线宽，单位px，默认为0（无边框）
					textStyle: { //默认值，
						color: '#333333', //默认值各异，
				
					},
					formatter: function(params) {
						if(params.data&&params.data.area_id){
							console.log(params)
							return '<div style="">所属地区：' +
								(params.name ? params.name : '') +
								
								(params.data['posprop']&&params.data['posprop']['1'] ? '</br>星级农家乐数量（个）：' + params.data['posprop']['1'] : '') +
								
								(params.data['posprop']&&params.data['posprop']['2'] ? '</br>省旅游示范村数量（个）：' +params.data['posprop']['2'] : '') +
								
								(params.data['posprop']&&params.data['posprop']['3'] ? '</br>乡村民宿名录（个）：' +params.data['posprop']['3'] : '') +
								
								(params.data['posprop']&&params.data['posprop']['4'] ? '</br>特色乡镇（个）：' +params.data['posprop']['4'] : '') +

								(params.data['posprop']&&params.data['posprop']['10'] ? '</br>乡村旅游重点村（个）：' +params.data['posprop']['10'] : '') +
								'</div>';
						}else{
								return '<div style="">商家名称：' +
									(params.name ? params.name : '') 
						}
					},
				},

				visualMap: {
					show: false,
					type: 'continuous',
					text: ['', ''],
					showLabel: true,
					left: '50',
					min: 0,
					max: max_val,
				
					inRange: {
						//   color: ['#', '#caf5f1', '#54726f', '#81e4deb', '#61d7cc' ]
						color: ['#add8a6', '#80c674', '#80c674', '#5cac50', '#5cac50', ]
					},
					splitNumber: 0
				},
				toolbox: {
					show: false,
					orient: 'vertical',
					left: 'right',
					top: 'center',
					feature: {
						dataView: {
							readOnly: false
						},
						restore: {},
						saveAsImage: {}
					}
				},


				geo: {
					map: map_name,
					zoom: 1.2,
					label: {
					
						normal: {
							textStyle: {
								color: '#000'
							},
							show: true
					
						},
						emphasis: {
							textStyle: {
								color: '#fff'
							},
							show: true
						}
					},
					// 显示地图大小
					 // zoom: 12,
					// 地图显示中心点
					// center: ["120.74537", "41.115474"], 
					// 是否可以拖动
					roam: true,
					itemStyle: {
						normal: {
							areaColor: '#fbfbfb',
							zborderColor: '#b9b4b7'

						},
						emphasis: {
							areaColor: '#707f7e'
						}
					}
				},
				series: [{
					name: '供需占比',
					type: 'effectScatter',
					coordinateSystem: 'geo',
					data: geoCoordMap,
					symbolSize: 8,
					showEffectOn: 'render',
					rippleEffect: {
						brushType: 'stroke'
					},
					hoverAnimation: true,
					label: {
						normal: {
							formatter: '{b}',
							position: 'right',
							show: false
						},
						emphasis: {
							show: false
						}
					},
					// color: '#009dff',
					itemStyle: {
						normal: {
							color: '#009dff',
							shadowBlur: 5,
							shadowColor: '#fff'
						}
					}
				}, {
					type: 'map',
					mapType: 'china',
					geoIndex: 0,
					
					label: {
					
						normal: {
							normal: {
								borderColor: '#999999',
							},
							show: true
					
						},
						emphasis: {
							textStyle: {
								color: '#fff'
							},
							show: true
						}
					},
					itemStyle: {
					
						normal: {
							borderColor: '#999999',
						},
						emphasis: {
							areaColor: "#707f7e",
						}
					},
					
					data: data_value
				}]
			};


			myChart.setOption(option);
			return myChart
		}